package com.hopes.bizz.hazard.alarm.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/11/20 19:15
 * @Description:
 */
@Data
public class AlarmStatisticsRequest implements Serializable {
    private static final long serialVersionUID = -8095998665411999180L;

    /**
     * 危险源
     */
    @Schema(description = "危险源")
    private Long hazardSourceId;

    /**
     * 报警因子
     */
    @Schema(description = "报警因子")
    private Long monitorFactorId;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
